﻿using Bird.Core.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Bird.Data
{
    class MemberInitialize
    {
        public MemberInitialize(IRepository<Core.Domain.Members.Member> _members)
        {
            _members.Insert(new Core.Domain.Members.Member()
            {
                Username = "admin",
                Email = "353230192@qq.com",
                Password = "admin",
                Active = true,
                Address = new Core.Domain.Address.Address()
                {
                    Contry = "中国",
                    City = "北碚",
                    Province = "重庆",
                    Code = "5002"
                }
            });

        }
    }
}
